package com.atguigu.srb.core.service.impl;

import com.atguigu.srb.core.mapper.UserMapper;
import com.atguigu.srb.core.pojo.entity.User;
import com.atguigu.srb.core.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Resource
    UserMapper userMapper;
    @Override
    public User findUserByName(String username) {

        return userMapper.findUserByName(username);
    }

}
